import numpy as np
arr1=np.array([[10,20,30],[40,50,60]])
arr2=np.array([1,2,2])
print(arr1+arr2)
arr3=np.array([[1],[2]])
print(arr1+arr3)
arr4=np.array(5)
print(arr1+arr4)